
<template>
    <Swiper style="height:300px;overflow: hidden ">
      <swiper-item  v-for="item in topImages">
        <img :src="item">
      </swiper-item>
    </Swiper>
</template>

<script>
  import {Swiper, SwiperItem} from "../../../components/common/swiper"
  export default {
    name: "DetailSwiper",
    components: {Swiper,SwiperItem},
    props:{
      topImages:{
        type:Array,
        default:[]
      }
    }
  }
</script>

<style scoped>
  img{
    width: 100%;
    height: 100%;
  }
</style>